import service from '@/utils/request'


export const loginApi = (username, password)=>{
    //异步函数，发送post请求
    return service.post("/auth/login",{
        username:username,
        password:password
    })
}